package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 水表用水记录对象 water_meter_flow
 * 
 * @author ruoyi
 * @date 2025-09-23
 */
public class WaterMeterFlow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 表号 */
    @Excel(name = "表号")
    private String meterNo;

    /** 价格编号 */
    @Excel(name = "价格编号")
    private String priceCode;

    /** 上次读数 */
    @Excel(name = "上次读数")
    private String lastlReading;

    /** 本次读数 */
    @Excel(name = "本次读数")
    private String currentReading;

    /** 抄表日期 */
    @Excel(name = "抄表日期")
    private String readingDate;

    /** 用水量 */
    @Excel(name = "用水量")
    private String cumulativeFlow;

    /** 水费 */
    @Excel(name = "水费")
    private String usageAmount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMeterNo(String meterNo) 
    {
        this.meterNo = meterNo;
    }

    public String getMeterNo() 
    {
        return meterNo;
    }
    public void setPriceCode(String priceCode) 
    {
        this.priceCode = priceCode;
    }

    public String getPriceCode() 
    {
        return priceCode;
    }
    public void setLastlReading(String lastlReading) 
    {
        this.lastlReading = lastlReading;
    }

    public String getLastlReading() 
    {
        return lastlReading;
    }
    public void setCurrentReading(String currentReading) 
    {
        this.currentReading = currentReading;
    }

    public String getCurrentReading() 
    {
        return currentReading;
    }
    public void setReadingDate(String readingDate) 
    {
        this.readingDate = readingDate;
    }

    public String getReadingDate() 
    {
        return readingDate;
    }
    public void setCumulativeFlow(String cumulativeFlow) 
    {
        this.cumulativeFlow = cumulativeFlow;
    }

    public String getCumulativeFlow() 
    {
        return cumulativeFlow;
    }
    public void setUsageAmount(String usageAmount) 
    {
        this.usageAmount = usageAmount;
    }

    public String getUsageAmount() 
    {
        return usageAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("meterNo", getMeterNo())
            .append("priceCode", getPriceCode())
            .append("lastlReading", getLastlReading())
            .append("currentReading", getCurrentReading())
            .append("readingDate", getReadingDate())
            .append("cumulativeFlow", getCumulativeFlow())
            .append("usageAmount", getUsageAmount())
            .append("createTime", getCreateTime())
            .toString();
    }
}
